<!DOCTYPE html>  
<html lang="en">  
<head>  
    <meta charset="UTF-8">  
    <meta name="viewport" content="width=device-width, initial-scale=1.0">  
    <title>Simple Text Editor with Line Numbers</title>  
    <link rel="stylesheet" href="styles.css">  
</head>  
<body>  
        <div class="line-numbers" id="lineNumbers"></div>  
        <textarea id="editor" placeholder="Write your text here..."></textarea>  
        <button onclick="save()">保存文本</button>
    <script src="script.js"></script>  
</body>  
</html>